package pub.guoxin.oops.manager.service.impl;

import org.assertj.core.util.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pub.guoxin.oops.manager.handler.AbstractAlarmInfoHandler;
import pub.guoxin.oops.manager.service.CheckoutAlarmService;
import pub.guoxin.oops.model.CommunicationData;

@Service
public class CheckoutAlarmServiceImpl implements CheckoutAlarmService {

    @Autowired
    private AbstractAlarmInfoHandler alarmInfoHandlerChain;

    @Override
    public boolean checkout(CommunicationData communicationData) {
        alarmInfoHandlerChain.handleRequest(communicationData, Lists.newArrayList());

        return false;
    }

}
